If approved, Walmart’s opioid settlement will require improvements in how its pharmacies dispense opioids.