There isn't a lot you can do when this happens. If it's not too bad, try cleaning it up. If it's fooked then you will have to lift the box out slightly and solder a pair of wires to the origional wiring and then run it to a seperate fuse..
Or fit a new loom.....