Counterinsurgency in Afghanistan failed long before the Taliban took over