Catch some "flips" for inequalities with NumberSymbol's

on top of https://github.com/sympy/sympy/pull/7861