[BUGFIX] Fix factor_univariate(poly, x) for constant poly.