As part of the merger, the company planned to sell 101 Arizona stores. A federal judge sided with regulators on Tuesday.