The U.S. military has begun transferring detainees from the Islamic State group from northeastern Syria to Iraq.