Donald Trump had said the US would not resume strikes on Iran before the midterms