I’m confused.
from your photo it looks like there is one, maybe two burned wires. But it looks like all of the wires are still seated into the connector.
it appears all you need to do is repair the damaged wires, crimp on new terminals and place them back in the connector
am I missing something???
Larry