J.D. Martinez hit a tiebreaking home run against Dellin Betances (1-2) leading off the eighth inning