Make ConstantRange::truncate a bit more efficient.