President Emmanuel Macron's centrist party rallied around the law, with 347 National Assembly lawmakers voting in favour, 151 against and 65 abstaining.