evalue.c: fix evalue_frac2polynomial for negative values of variables