California judge delivers drugmakers 1st trial win in opioid litigation