Ban on demonstrations in Paris, Lyon, Lille and Grenoble was seen by some as an infringement on French people’s right to protest