French president Emmanuel Macron wants the ban to be introduced ahead of the new school year as both parliament chambers voted in favour of it