Hundreds were arrested as protests erupted across France, after President Emmanuel Macron's government narrowly survived a no-confidence vote.