Trump has claimed total victory over Iran while in reality scrambling for an exit from a war that has hurt billions, exposed his miscalculations and handed key leverage to Tehran