State justices deal blow to health insurers