The chain is shutting down locations at a time when its closest rival has been opening new stores.