How about lifetime costs? A resistive water heater is going to last longer and you can get non-metallic water heaters for extremely long life.
If you don't have net metering (or just a terrible power purchase rate), why not just sink that extra solar energy into a water heater?