Gerrit Cole rescued meaningful baseball for Yankees teammate