The decision is aimed at boosting cash flow and reducing debt as it faces an opioid lawsuit from the Department of Justice.