correctly handle 0^0
Conflicts:

	ulong_extras/powmod2_preinv.c
Revert "correctly handle 0^0"

This reverts commit 6ea25083eb4152c23ac32259130527877dfe6d00.