Macy’s repurchases $500 million in debt