fix removing dhcp ip addresses from hosts when static ip address is removed from table