Qaedists lose ground in Syria; gain in Iraq