lib/resolve: drop a piece cycle-avoidance code

- It was too aggressive.  Example I ran into: we have glue address
  in qry->ns but we want to find authoritative record by asking the NS.
- The anti-cycling measures are probably not perfect yet,
  but they seem to be fine enough and this commit seems
  very unlikely to make anything worse in practice.
31 jobs for <span class="ref-name">issue-374</span> in 4 minutes and 6 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build
passed #207650
docker linux amd64
build:asan:linux:amd64

00:00:50

passed #207649
docker linux amd64
build:clang:linux:amd64

00:01:06

passed #207648
docker linux amd64
build:linux:amd64

00:01:20

passed #207651
docker linux amd64 allowed to fail
srpm

00:00:45

 
  Test
passed #207659
docker linux amd64
deckard:linux:amd64

00:02:06

passed #207667
privileged
distro:epel-7

00:02:06

passed #207666
privileged
distro:fedora-29

00:02:44

passed #207658
docker
doc

00:00:47

passed #207656
dind
docker:build

00:02:16

passed #207657
docker linux amd64
installcheck:linux:amd64

00:01:04

passed #207660
docker linux amd64
installcheck:valgrind:linux:amd64

00:02:08

passed #207653
docker
lint:c

00:02:18

passed #207654
docker
lint:clang-scan-build

00:01:07

passed #207652
docker
lint:lua

00:00:36

passed #207661
docker
osx:build

00:02:28

passed #207663
docker linux amd64
pytests:lint

00:00:44

failed #207664
docker linux amd64
pytests:run

00:01:56

passed #207665
docker linux amd64
respdiff:iter:udp:linux:amd64

00:02:10

passed #207655
docker linux amd64
test:linux:amd64

00:01:07

passed #207662
docker linux amd64
test:linux:amd64:valgrind

00:01:20

 
  Extended
skipped #207668
docker linux amd64
pytests:extended
skipped #207669
respdiff
respdiff:fwd-tls6-kresd.udp6
skipped #207670
respdiff
respdiff:fwd-udp6-kresd.udp6
skipped #207674
respdiff
respdiff:fwd-udp6-unbound.tcp6
skipped #207675
respdiff
respdiff:fwd-udp6-unbound.tls6
skipped #207673
respdiff
respdiff:fwd-udp6-unbound.udp6
skipped #207672
respdiff
respdiff:iter.tls6
skipped #207671
respdiff
respdiff:iter.udp6
skipped #207676
respdiff
resperf:fwd-tls6.udp-asan
skipped #207677
respdiff
resperf:fwd-udp6.udp-asan
skipped #207678
respdiff
resperf:iter.udp-asan
 
Name Stage Failure
failed
pytests:run Test
Running after script...
$ tail -1 pytests.log.txt
=============== 275 passed, 8 skipped, 2 error in 82.91 seconds ================
$ echo "See pytests.html or pytests.log.txt for full report."
See pytests.html or pytests.log.txt for full report.
Uploading artifacts...
pytest*: found 2 matching files
Uploading artifacts to coordinator... ok id=207664 responseStatus=201 Created token=zsUtMMFU
ERROR: Job failed: exit code 1