Officials who drove the decades-long war in Afghanistan look back on the strategic mistakes and misjudgments that led to a 20-year quagmire.