Minor cleanup in Quadratic Sieve code