you have to totally block the edge where it spawns the units.
I know, you could do it the (evil) way, by hacking into the game's memory and killing off the Pinwheel.
(call Pinwheel::~Pinwheel() to kill the AI pinwheel. Maybe kill the attackgroups too. And triggers.)