move chained comparison handling into reduceBinaryExpr