Red Sox extend JB Wendelken