Add check in agglomeration for insuffcient number of primitives
If too few primitives are present the agglomeration crashes with MPI errors.
e.g. running AgglomerationMatMulTest
with 16 processes leads to:
An error occurred in MPI_Waitany
this might also be the reason why sometimes the pipeline deadlocks.
It would be nice to have some checks to prevent this problem.