fix: handle empty char. series in primdec.lib