An Orange County judge finalized his decision Tuesday and granted a win to major drugmakers accused of causing an opioid epidemic in California, delivering a blow to four communities that represented the people of the state during a monthslong trial.