The layoffs come less than a month after Walgreens announced it was closing 1,200 by 2027, including 500 stores next year.