The judge’s decision is a win for public health, but the back-and-forth on vaccine policy may undermine the public’s trust in science.