fix(frontends/lean/elaborator): bug in the elaborator reported by Jeremy

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(frontends/lean/elaborator): bug in the elaborator reported by Jeremy