Trump is now trapped in a war that is not going down well at home and Tehran senses his political vulnerability writes Foreign Editor David Pratt