JAVA-1161: Added assertion that a replica set member without a name or hosts list will be of type ReplicaSetOther