Removes duplicate hostnames from a list of URLs by keeping the first instance of the hostname