France’s president warns order will be kept “without complacency” after violent anti-government protests.