Fix a special case bug in mpi_powm for e==0.