Meanwhile , the U.S. military says soldiers killed two suspected members of al-Qaida in Iraq and detained 22 others during raids in Mosul and Ramadi .