Well replacing the IGBTs "repaired" the broken parts, but why did they fail to begin with is the question?
There is some fault that caused them to fail--maybe a shorted winding in the motor, motor winding varnish failure, some fault in the controller to accidentally misfire the gate drives...