Clarify traverseIndirections implementation.

No functional change intended.
Make traverseIndirections() return bool instead of int.