Queens of the Dead and Lich Kings should be paralyzed; if you cannot cast the spell, be sure to have a wand (or two) of paralysis before you encounter them. If they have cast Pain Reflection you can try to cast Dispel Magic first, then immediately paralyze them, but this is risky and you may prefer to take the ouchies.Necromancers are susceptible to Berserk, which can keep them occupied. Charm can also keep them off your back for a while.
Finally, remember that Invisibility is your friend when in the Pit. As an alternative to the "grand battle," you can in fact do a lot of what needs to be done while invisible, keeping the fighting to a minimum. Certainly, for example, there is no need to fight the nasties if all you're doing is going to the inn to win that last Arcomage game. Do not be afraid to walk on the lava for a bit. A few dozen lost HP are replaced by appropriate Restore Hit Point items.