Syrian army troops have inflicted heavy losses on foreign-backed militants in operations across the country, military sources say.