pmix: correctly split pmi messages

Thanks to @elenash for all the reviews