State attorneys general vowed the funds would go toward tackling the addiction crisis. But as with the tobacco payouts of the 1990s, local officials have started using them to fill budget shortfalls.