On Afghanistan, Trump promised to listen to his gut. Instead, he lost his nerve