The U.S. military escorted more than 5,000 IS detainees from 60 different nationalities from prisons in northeastern Syria to Baghdad.