As part of a court settlement being negotiated with US, wealthy family would give up control of drugmaker accused of fueling opioid crisis