The Department of Justice said the grocer offered discounted prescriptions to eligible customers but filed claims for higher prices with federal programs like Medicare and Medicaid.