Ever since 1.5.10 (as far as I'm aware, might have been added earlier) TaleWorlds silently added a way to stop clan members (that includes your companions as well as family members) from dying in combat.
How to activate it:
Open Campaign Options (Esc -> Campaign Options while in-game)
Scroll...