do we know that the dragon poops? and not excreting magical power through its scales?
cuz if it poops, then it would require a lot more feed I think. it might even feed on magical power for what we know.
How do they know the worms haven't laid myriad eggs inside the dragon? If they kill the adult ones, the eggs will just hatch later and the situation will be unchanged.