Flea and tick medicines can stay in pet waste for months, exposing insects that keep soil healthy to harmful chemicals.