Andrew McCutchen leads Pirates past Red Sox