‘He threw a fit’: Trump’s anger over Iran deal forced aides to scramble for a compromise