President Trump is grappling with his own version of the sort of Middle East crisis that beset his predecessors, and that he promised to avoid.