I'm inspired. Use a Rope Golem with 2 Hanged Men in either "hand" and have him remain still until the undead are destroyed. Or it could use readied actions to pull or push the undead in and out of combat.
PC: "I'll fire my last flaming arrow at Undead #1." *rolls*
PC: "Rolled an 18! That's 26 to hit!"
DM: "*YOINK!* *CRACK!* The Hanged Man seems to fly violently to one side, away from the flaming arrow with a grotesque cracking sound coming from its neck."
PC: "...****..."
Once everything is resolved, the Golem rises up to claim new victims, or use the immobile corpses to bash the PC's heads open when they're busy looting.
I envision a Rope Golem as 2 pieces of simple rope coiled around one another with at least 2 nooses coming from the coils. At least that's how I would fluff it if I'm wrong on how they actually look.