It is amazing to me that the motor smoked while not moving, and the boards are allegedly fine. How can the boards be fine and still destroy the motor when it was not even running?
I think the actual failure mode has yet to be determined.
You better buy two motors, in case the replacement motor smokes.