The retail giant closes stores as it focuses on boosting profitability and winning.