There is something almost grimly familiar about the position in which Trump now finds himself. A president who built his political identity on defying convention, mocking foreign policy experts, and promising to keep America out of “endless wars” has become entangled in another unpopular conflict in West Asia.