feat(library/elaborator): add extra occurs-check test

The idea is to catch the inconsistency in constraints such as:

    ctx |- ?m[inst:0 v] == fun x, ?m a x

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(library/elaborator): add extra occurs-check test