In scathing ruling, judge rips insurer for putting ‘bottom line’ over patients’ health