A judge sided with CBS against a talent agency's claim that it wasn't getting its fair share of Judge Judy's profits.