France’s stretched police force has had to contend with two militant attacks in a year and regular street protests