The defendants were transferred from Syrian detention facilities to Iraq, where they face trial under the country’s counterterrorism laws.