[PATCH RFC ndctl 4/9] test/libndctl: search by handle instead of range index