President Trump has threatened to strike the Islamic republic unless a deal is reached on curbing its nuclear programme