The French education minister wants to work with unions to prevent further riots after thousands of young people have been arrested across France