feat: generalize `MonadTail (StateT σ m)` instance (#14623)

This PR generalizes the `MonadTail (StateT σ m)` instance to work
without needing `Nonempty σ`. This means that proving specifications
about `while` with a `StateT` monad now works even if there is no
`Nonempty` instance for the state type.
2 files changed