### Subst: convert definitions into axioms when needed

subst can make constant definitions recursive, making them fail termination check. Convert such definitions into axioms on the fly. Tentative fix for #195.

subst can make constant definitions recursive, making them fail termination check. Convert such definitions into axioms on the fly. Tentative fix for #195.