More minor cleanup in sub-communicator creation code.