New York CNN Business — Walmart agreed to the framework of a $3.1 billion settlement, which resolves allegations from multiple states' attorneys general that the company failed to regulate opioid prescriptions contributing to the nationwide opioid crisis.