perf(kernel/metavar): improve occurs_expr method
perf(kernel/metavar): improve occurs_expr method

Signed-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>

fgdorais/lean,soonhokong/lean-windows,htzh/lean,dselsam/lean,fpvandoorn/lean,fgdorais/lean,htzh/lean,dselsam/lean,Kha/lean,Kha/lean,fgdorais/lean,leanprover/lean,soonhokong/lean-osx,soonhokong/lean-windows,sp3ctum/lean,soonhokong/lean-osx,levnach/lean,javra/lean,digama0/lean,c-cube/lean,rlewis1988/lean,eigengrau/lean,eigengrau/lean,rlewis1988/lean,javra/lean,soonhokong/lean-windows,avigad/lean,UlrikBuchholtz/lean,avigad/lean,htzh/lean,soonhokong/lean-osx,htzh/lean,soonhokong/lean-windows,eigengrau/lean,leodemoura/lean,rlewis1988/lean,UlrikBuchholtz/lean,c-cube/lean,leodemoura/lean,soonhokong/lean,c-cube/lean,johoelzl/lean,digama0/lean,Kha/lean,rlewis1988/lean,fpvandoorn/lean2,soonhokong/lean,eigengrau/lean,leanprover-community/lean,c-cube/lean,levnach/lean,soonhokong/lean,fgdorais/lean,fpvandoorn/lean,levnach/lean,dselsam/lean,javra/lean,dselsam/lean,htzh/lean,soonhokong/lean-osx,fpvandoorn/lean,c-cube/lean,Kha/lean,dselsam/lean,UlrikBuchholtz/lean,avigad/lean,leanprover-community/lean,johoelzl/lean,johoelzl/lean,digama0/lean,leodemoura/lean,Kha/lean,javra/lean,levnach/lean,avigad/lean,sp3ctum/lean,soonhokong/lean-osx,fpvandoorn/lean2,digama0/lean,rlewis1988/lean,leanprover-community/lean,fpvandoorn/lean2,eigengrau/lean,levnach/lean,leanprover/lean,UlrikBuchholtz/lean,fpvandoorn/lean,fpvandoorn/lean,dselsam/lean,leanprover/lean,fpvandoorn/lean2,johoelzl/lean,leanprover/lean,fgdorais/lean,leanprover-community/lean,johoelzl/lean,digama0/lean,fpvandoorn/lean2,leanprover/lean,soonhokong/lean-windows,leanprover/lean,sp3ctum/lean,fgdorais/lean,leanprover-community/lean,avigad/lean,fpvandoorn/lean,soonhokong/lean,javra/lean,rlewis1988/lean,leodemoura/lean,soonhokong/lean,leodemoura/lean,avigad/lean,leodemoura/lean,Kha/lean,johoelzl/lean,leanprover-community/lean,UlrikBuchholtz/lean,sp3ctum/lean,digama0/lean,sp3ctum/lean