Editorial: Don’t bungle the ending of America’s longest war

America’s war in Afghanistan has dragged on too long. But the U.S. domestic political calendar shouldn’t dictate when to end it.