Fix missing case in the elaborator

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

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