you have bristleworms, not fireworms. they didn't eat your snail, unless it was dying or already dead. you don't want to get rid of them because they are a free cleanup crew. you see, they ate the dead snail instead of having it rot in your tank.
they are good to have around.