UK supermarket group Wm Morrison has announced that it has agreed to sell ten Safeway stores to Tesco.