I believe it is time based. The first time I went through and disabled both chambers I then killed a couple walking armours (that were in my way) before hitting the general with Splitting Arrows, which left a tiny sliver of life left, at which point he ran for the first healing chamber, with subsequent attacks ineffective. I had my back to him for a bit, but when I turned around he was pretty much in the same spot. The next try I jumped over the walking armours (that came up behind me as I pulled the second lever), and was able to easily end the fight (which I did another couple times checking for loot).
Also, if he gets an instant teleport, and protection from further damage once he starts running for a chamber, it doesn't make sense to require an action on general Raze's part to reactivate the chambers.


Raze explaining how to kill Raze, how ironic

Try going through the game the first time with a character named Raze and getting to that point...

silly