Kroger will pay Oregon up to $40 million as part of a $1.37 billion settlement with 30 states for its alleged role in the opioid crisis.