Fix the held_locks_are_in_acquisition_order unit test.

There was a bug in it but it still did pass because
`tiernan_all_cycles` ignores self loops. This is not
the case for `hawick_circuits`, and it is how this was
uncovered.