fix Ring::hasIntegerCoefficientRing

hasIntegerCoefficientRing(rng) was =1 in previous version
for prime coefficient fields like
`ring rng = (integer,7),x,dp;`