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

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