Nematodes only attack species they are adapted to breed from, so it would be very, very unlikely that they would move from soil or inside the body of a slug to a reptile, especially as tortoises are largely herbivorous and slugs form a tiny part of their diet.