Hundreds were detained during protests against the French government’s push for higher retirement age