A judge in New York dismissed a lawsuit former Dodgers pitcher Trevor Bauer had filed against the website Deadspin and its managing editor.