As well as retaliation risks, the president who styled himself as a "peacemaker" could face party dissent over Iran attack.