Unfortunately this is still very much an issue with the full release, nothing was done about it.

They're still despawning if they become hostile after the player convinces the ogres to fight for the main character and summons them by sounding the horn. Choosing the option I Don't Have The Money or simply attacking them will despawn them mid-combat after a couple of turns.

Here's the full release version of the bug;