tools: Fixed a bug in logical dependence traversal
tools: Fixed a bug in logical dependence traversal

sdalton1/legion,sdalton1/legion,StanfordLegion/legion,StanfordLegion/legion,sdalton1/legion,chuckatkins/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,chuckatkins/legion,StanfordLegion/legion,sdalton1/legion,chuckatkins/legion,chuckatkins/legion,chuckatkins/legion,chuckatkins/legion,sdalton1/legion,StanfordLegion/legion,sdalton1/legion,chuckatkins/legion