My recomemdation is never replace a connector with IDC. Those are not good connectors and that's why they burn up all the time. Replace with the molex style. And use the trifurcon pins. They are much better.
https://www.greatplainselectronics.com/products.asp?cat=81
Lonny