The result: a 20-year, $2.3-trillion fiasco that ended chaotically at Kabul airport.