X5 Retail Group, Russia's largest grocer, is set to buy out a franchisee of its Pyaterochka stores.