Interesting design combining trigger, signal, fuse, and solenoid all in one unit.
The good news is they only cost $15.
The bad news is that these components should only carry a current for a few moments while the ignition switch in the starter position (if I understand the design correctly). If that is the case, what caused all the current, after the ignition switch released the starter circuit, that generated enough heat to wreck things?
Faulty ignition switch perhaps? Stuck relay? Electrical short?
Or is it too close to something hot like the exhaust?