Improve evaluation of relationals with -oo if "other" arg is positive

fixes #8449
Merge pull request #8460 from skirpichev/8449-fix

Improve evaluation of relationals with -oo if "other" arg is nonnegative