Refsnyder completes Red Sox rally for 9-8 win over Rangers