The company reported it will close 523 corporate stores, exit 204 independent locations and shutter 4 distribution centers by mid 2025.