Macy’s to cut 3.5% of its workforce, close 5 mall anchors