This quote from the "honest john" website (no relation) may be relevant:
"With the FIRE engine, if the engine cuts out when hot, will restart after about 10 mins, then last another couple of miles, the reason could be that the cable insulation cracks and shorts inside the distributor from the magnetic pickup to the ignition module. Results in no spark. Happens on cars from late E reg onwards. Pre mod distributors had red & green cables which never gave a problem."
It relates to Pandas with the "Fire" engine.
I know your isn't a "Fire", but it's something to think about.
Regards
John H