The pharmacy “allowed millions of opioid pills and other controlled substances to flow illegally out of Walgreens stores,” the Justice Department said.