In short, the monsters will win the battle. I cast Prayer and Counterspell on my troops, then resurrected them. Finally, I blinded the remaining archmages, calmly resurrected everyone I had enough mana for, and finished off the archmages.
Now I'll try to fight more slowly; it will probably be better.