Sales slump prompts Macy’s to cut jobs, rethink real estate