call n_factor all the way up to 64 bits in fmpz_factor; cleanup code a bit