resolver: fix iter_ns_noglue to simulate the right problem
Modifications done with intent to make tests compatible with query name minimization changed nature of the test. Now the test is simulating the same problem as before and supports query name minimization at the same time.
Fixup 2bfa632c.