domain: fix off-by-one in Domain.exit()

We want to clear the found domain AND the domains after it