France set to prevent jihadists going to fight or train abroad