Yankees win battle with ESPN over late-game telecast