Rework dinv into finite_divider

dinv is an inverter, but reused to do a multiplication, making it a full divider.
Rework it to make it more clear what it is doing, removing extraneous and
confusing control signals.
snce is now unused in tmec_decode_serial
Make pow3 more clear