Walmart settles US government’s opioid lawsuit