Make shuffle deterministic.

When shuffling, sort the hosts by the md5 of their hostname. This blows
away any semantic ordering of the hostnames but allows the list to
remain stable when the number of hosts changes.