Nestle has confirmed plans to reduce production of its Maggi brand ready meals in France, with the loss of 171 jobs.