Macy’s to close six locations, open nine others