The judge in Leah McSweeney’s case against Andy Cohen and Bravo gave the network’s lawyers a fiery rebuke worthy of a reunion show hosted by Cohen himself.