Be careful with dupe IPs

Since we are fixing the double transaction leakyness, we need to be
careful if allocatable_ips and ip_addresses have dupes.  Adds a check
into the allocation to gaurd against dupes.