Irish dairy and ingredients group Glanbia has agreed to sell its local rights to Yoplait back to the yoghurt maker.