Donald Trump accused Iran of reneging on a promise to drop its nuclear ambitions as part of a deal to end the war.