Donald Trump has stepped back from the brink of war in the middle east, igniting fresh hope for negotiations with Iran.