Sale of chip factory to China rightly stopped