I don’t think there is any need to correct the reflect/refract slots.
If you want add a VRayColor to all the empty diffuse slots you could do something like:
(
for mat in getClassInstances vrayMtl where mat.texmap_diffuse == undefined do mat.texmap_diffuse = vrayColor color:(mat.diffuse)
)