Electric motor repair