You could damage the egg with drills carrying bombs. Put some on the surface, make them drill to the egg (I suppose it can't be too deep, it has to be largerlarge enough to eat the earth after all) and detonate the bombs inside. Even if it hatches it should be deaddamaged enough to die soon after hatching. Naturally there's the problem with carcass which falling to the surface of earth could damage it quite a bit, and debris from moon (moon whenwhen wasp hatches it will probably destroy the moon)