Macy’s gave its fourth-quarter update just days after announcing a slate of store closures.