If the United States remains in combat in Afghanistan, Iraq and Syria until the end of Mr. Obama’s term — a near-certainty given the president’s recent announcement that he will send 250 additional Special Operations forces to Syria — he will leave behind an improbable legacy as the only president in American history to serve two complete terms with the nation at war.