perf(kernel/converter): improve is_def_eq_binding

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