Macy’s cuts corporate headcount by 3,900 as virus takes toll