you can also use a new connector. Molex, Tyco, Deutsch, take your pick. will mean cutting off the connector from the motor and the harness side, soldering and crimping and matching the connector with its mating counterpart.
downside is that anytime the motor needs to be replaced in future, this...