Perhaps, we should add an option to disable this new feature. Remark: this commit makes commit 46d418a redundant. I'm keeping 46d418a because we may retract this commit in the future.
46d418a
That is, the restricted type checker should only be used in the matching/unification step. fixes #583