The two were exchanged for a Taliban figure imprisoned for life in California on drug trafficking and terrorism charges.