I haven't had any issue with dead earthworms but... I keep an organic garden and we are constantly adding composted horse manure with shavings. Nowadays, if you grab a shovelful of soil anywhere in the garden, you're guaranteed to come back up with earthworms. So maybe I haven't noticed just because of the sheer number of worms to begin with??
Since I do have a problem with earthworms in my potted plants, I may experiment by putting some Sluggo in them and see if that helps get rid of the worms...