Use ClauseIds to identify unsat cores
Add missing implementations for untyped expressions