C,
My guess is that the connections became corroded and this caused them to get hot and burn the incoming wires.
No way to know for sure, but the first thing to do would be to rewire from your control panel (EasyTouch???) and then try the pump and see what happens.. Even if you have to replace the pump, you will still need new AC wiring.
Thanks,
Jim R.