Bugfix to divrem to return poly with same var

Previously, `divrem` could return a `Poly` with a different var
than those put in, due to `zero(Poly{R})` not knowing what var
the input `Poly` had.