Before I plugged that head into any cab I would have it checked out. I have only seen anything close to this before. Had a power section blow and it put B+ across the voice coils. Since you were still getting sound, I doubt it is that much voltage, but it is suspicious that they got that hot and caused a fire. The second head may have done nothing, but by the time you plugged it in, the speakers were already gone. It was like you were driving a car that ran out of oil in the engine so you started it back up and tried to drive it home.
The speakers are toast (intentional pun), maybe all of them. The head is suspect. Before you do more damage, take it to a tech.
And, I am among those who think a pedal doing that is not at all reasonable. If a pedal were malfunctioning, it might damage any other pedal downstream from it and/or the preamp section of the amp. For the amp to blow the speakes it will always be the power section that does it. How the power section got messed up is another puzzle.
One other thought. It may be that one speaker died and now the impedance has gone all wrong in the cab and causes the problem.
IMHO, you will save money, time, and grief if you just take it to a tech.