Fix type checker for let expressions

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Fix elaborator for let-expressions

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

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