Revert "SERVER-9882 addShard fails if connection string includes hidden member"

This reverts commit 5e331a573cfd9a860f5afb1e2bb14cad8394f464.