Wait and see after a few more times he defecates to see if it still looks the way it does. Sometimes when a snake drinks water and keeps its head down right after it drank the water will sometimes come out of the mouth. If he was dewormed I don't see how this could happen again unless he has worms again. I would check on the other snakes as well just in case they may have worms in their feces too, and/or doing the same thing your Spider is.