improve deletion check

try to make deletion check more robust by checking whether individual hosts still have the domain (hopefully this will force full updates before deletion is allowed)

not 100% sure on whether a host is still "assigned" a domain when the update to delete it is pending... but I think it is.

@pwestling