[assembler] Add assert for non-zero element set size

5 jobs for !2909 with feature/colored-smp-assembly-kokkos
latest merge request