1. easiest way to save this to remove terminals from harness-side connector (take photos so you can re-insert to proper positions).
Terminal extraction tools
Then solder both ends of those butt-crimps to ensure good electrical conductivity
Slide over 2" section of adhesive heat-shrink tubing for strain-relief and corrosion protection
Put little dab of solder at ends of wires with connector terminals. Just tiny bit to seal ends of wire to prevent moisture from creeping down between wire-strands to cause black/green wire disease.
Verify catch-tab on terminals are protruding properly
Re-insert terminals into connector.