Fixed a bug in mpir_invert_pi2 triggered by the MPFR test code.