State governments affected by the opioid epidemic were locked in intense litigation with pharmaceutical companies for years. Now the settlement money is being distributed, earmarked for treatment centers, recovery services, transitional housing needs and more.