Fix IndexError in CPU-JIT on kernels with zero domain fields
Prevent an IndexError
in the CPU JIT compiler when compiling kernels that operate on zero domain fields (e.g. just using custom fields)
when trying to construct field shape checks.
Do not construct field shape checks if fewer than two domain fields are present.