Trump said diplomacy was the preferred option to avoid further casualties and damage, even as tensions over Iran’s nuclear programme, the Strait of Hormuz and regional security remain unresolved