The resistivity of V3Sn and related compounds