Drug manufacturer Allergan reached a $2.37 billion settlement with a bipartisan group of state attorneys general to resolve lawsuits over the opioid crisis.