What I mean by "it was Ajokli that was defeated", was that at Kellhus's death, it's Ajokli who is affected by Kelmomas, not Kellhus.
And it's arguable that Sorweel could've and would've killed Kellhus without Kelmomas's influence, so Kellhus sparing him in Esmenet's behalf got him further. He could've killed him afterwards, but what precise reason did he have? Outwardly, Kelmomas was never a threat to Kellhus.
And I don't think it's comparable, what happened with Moenghus. Moenghus couldn't have killed Kellhus even if he wanted (and Kellhus speculates that he'd try; he speculates on an alternative scenario where Moenghus, being Dunyain still, is inevitably converted to the Consult, kills Kellhus, takes his place as the prophet, and leads the world to slaughter); Kellhus possessed sight as a physical advantage, and though he hadn't yet reached the full height of his power, he was still the stronger magician with the Gnosis. So, for Moenghus, it wasn't a choice.
How do we know Kellhus has failed. Perhaps he planned past a defeat.
He says something like "the Consult has to win" to Proyas before he dies, and Bakker himself said "Kellhus is dead, but not done". So, perhaps, the ground the world has to thread without Kellhus is still conditioned by him! Kellhus's conversation with Moenghus implied to me that he sought something "more" for humanity, by mentioning sharing the truth with them, though Moenghus immediately dismisses the possibility. Perhaps, he seeks to break the cycle of monstrous morality that grips Earwa, of gods who feast on the souls of almost *everyone*.
Though, his reaction to being defeated in the end seemed to be of genuine shock, so I don't know how much he expected what went down.