what two groups were battling for power in the chinese revolution? who gained eventual control of mainland china? what happened to the other group