Jiang Yi was indeed wrestling with Xing Mo for control over his body.
He had not expected Xing Mo to disregard Wu Ni's body entirely, and that the latter had long planned to take over his body instead. Xing Mo also did not use any soul spirit attacks; he had instead used his mystical ability to transfer his entire soul spirit into Jiang Yi's soul spirit consciousness.
At that moment, Jiang Yi had gambled that before his soul spirit was destroyed by Xing Mo's soul spirit attack; he would be able to destroy Xing Mo's body. No doubt Jiang Yi had won, and Xing Mo's body had been destroyed while his soul spirit remained intact. However, his primordial spirit had then been easily taken over by Xing Mo!