Turkey moves to halt flow of foreign fighters to Syria