simplify ConstantRange::getSetSize()