Currently UREM & SREM on constant ranges produces overly pessimistic
results for single element constant ranges.
Delegate to APInt's implementation if both operands are single element
constant ranges. We already do something similar for other binary
operators, like binary AND.o
Fixes PR49731.
This should be if (const APInt *RHSInt = RHS.getSingleElement()). Same for the other isSingleElement + getSingleElement combinations.