Simplify threshold handling for probcut. (#936)