Revert "SERVER-14728 Shard depends on string comparison of replica set connection string"

This reverts commit b3787777795434829a3b512c06b5a0a508d81467.