fixed Maple's PolynomialRing constructor

to correctly handle a polynomial ring over a base ring