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

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