Remove cost function value from AlgorithmResult::toString()