If your snakes were exposed to any kind of permethrin-based pesticide for any extended period of time, they would experience moderate to severe nervous system damage which is probably what killed them. I did, in fact, learn this one the hard way some time ago.
I treated two of them via bogus instructions from someone I trusted at the time. I was told to soak the affected snakes in a diluted solution of a permethrin based flea/tick killer. After about 20 minutes, I noticed both animals "spinning" and otherwise exhibit symptoms of some kind of major neurological damage. One snake died sometime overnight and the other pulled through and recovered fully.
These types of pesticides are NOT meant to treat the animal directly and this thread should be a warning to anyone who gets this kind of advice from misinformed people.