Fix Piecewise._sort_expr_cond for Relational conditions.
XFAIL a integration test: the actual answer should be 1/2.
Merge pull request #2585 from jrioux/piecewise

Piecewise integration fix