France: Macron ousts security chief after police protests