I changed my local version, changing the doit () function, commenting on the evolution and pollution changes and switching to killing all enemies, including bases and worms.
This will suit me at the moment, but it would be nice to have an option to choose what to do.
--for _, surface in pairs (game.surfaces) do surface.clear_pollution() end
--game.forces["enemy"].reset_evolution()
local surface=player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
entity.destroy()
end