Rite Aid to buy back $810 million in debt