feat: good reduction of Nat.div in trivial cases

This PR changes the definition of `Nat.div` to follow the example of
`Nat.mod` where trivial cases are handled in a wrapper that reduces
well, before calling the main function defined by well-founded
recursion.

This helps with #5182.
2 files changed