James Paxton shakes off struggles as Yankees keep Red Sox reeling