First-half profits at retail giant Macy's plummeted as the US company bore the brunt of charges related to its consolidation process.