Cost minimization by helpers in cooperative vertebrates