Red Sox acquire former 1st-round pick in trade with Pirates