Fix a bug in 'controlDependencies'

It was not returning *all* control dependencies for instructions
with a long chain of control dependencies.