Whatever you do, I would make some way to disconnect the wiring easily that goes over the valve cover to the engine. My two yellow wires melted also, but the smaller wires were ok. I crimped ring connectors to the yellow wires and then bolted them together with small bolts and nuts. I appreciated this when I went to change the valve cover gaskets, as I had to take all this wiring apart, along with the fuel filter stand, to gain clearance to get the valve cover off.
Nice when you have a mechanical project going on, that you are not side tracked messing with wiring and it just unplugs and moves out of your way. This would also be handy if the cylinder head or the whole engine needed pulling.