Президент США The US president faces few good options to exit a war he once said would end swiftly with the Islamic republic’s surrender