Fix MPI_COMM_SPLIT_TYPE with MPI_UNDEFINED

Thanks to Lisandro Dalcin for identifying the problem.

Fixes #4876

Submitted by George Boscila, reviewed by Jeff Squyres.

cmr=v1.8.3:reviewer=ompi-rm1.8