The Red Sox’s decision to extend a $21 million qualifying offer to Nick Pivetta was…