That's what happens when a dry joint cracks round the pin, and starts arcing across the crack. You'll need to dremel out *all* the charred PCB material, glue the new relay in place, solder its other pins to the undamaged pads, and fit a wire link between the pin in the middle of the hole left by removing the damaged area, and the undamaged part of the burnt track. While you are in there, resolder all the other relay contact pins, and any other pins on wide tracks with joints that look even a little bit suspect!