feat: polynomial operations with deep recursion and heartbeat checks

This PR adds "safe" polynomial operations to `grind ring`. The use the
usual combinators: `withIncRecDepth` and `checkSystem`.
4 files changed