fix(builtin/kernel): Hilbert operator only for non-empty types

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(builtin/kernel): Hilbert operator only for non-empty types