A "complex and unprecedented" slate of previously announced settlements between a number of states and CVS, Walgreens and manufacturers Allergan and Teva Pharmaceuticals for those companies' roles in fueling the national opioid epidemic have been finalized, the jurisdictions said Friday.