solve_univariate_inequality: don't assume that solve returns real solutions

    closes #2794
Merge pull request #2795 from skirpichev/gh2794

solve_univariate_inequality: don't assume that solve returns reals