Walgreens is scaling back. The struggling pharmacy giant previously announced plans to close over a thousand stores by 2027.