European bakery group Aryzta has agreed to sell the majority of its stake in its French frozen food business.