Factorization in the massive SU(N) thirring model