The company, which reportedly has billions of dollars in debt and is facing more than 1,000 lawsuits claiming it filled illegal prescriptions for painkillers, will close hundreds of stores.