fix(frontends/lean/elaborator): unintended use of local instances

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