Wiring from that side of the connector should be
Orange
Double Orange
Double Black
Don't know why they doubled up the wires on some of the pins.
You could try to just shove it back in, or make a splice onto the still attached wire.
The correct way to do it would be to pop the pin and get a new one to crimp on.