perf(kernel/expr_eq_fn): delay cache allocation

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