Hmm I see, maybe it were 23, but I am very sure I did not add any inquisitors, only added the one point in healer.
23 would still not be enough according to that formula, so I forgot how many it were. (33 would make it work with 5 health left :p)
I restarted that game anyway, so will test it again. when I have 33 Inqui