Months after the Taliban took control of Afghanistan, the former insurgents are trying to transform the country’s guerrilla fighters into a structured police force. They are being trained to secure the same border crossings that they once used to enter the country and launch attacks on US troops and Western-backed Afghan security forces.