A bill before the Massachusetts Legislature could prevent people with substance use disorder from being sent to jail only for relapsing. If the bill is enacted, people diagnosed with substance use disorder who are on probation or are pretrial would be diverted to treatment and prohibited from being drug-tested.