It's a common problem with these transmissions. Replacing it with another trans seems to be the easiest way to "fix" it. I think if you take the shifter housing or the reverse sensor off you can mess with the shift fork rods and knock it out of reverse but chances are it will happen again down the line.
http://www.miata.net/garage/stuckreverse.html