fix(library/elaborator): bug in simple_ho_match

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