implement and document nmod_poly_factorxx