This reverts commit 4aacc60fe7e1f7b3f788bba8382ea1fa5189ef3b. The original implementation provided a simple method to check whether the forest of nested cycles is well-formed. This is now augmented with other methods to check well-formedness of every cycle, either individually, or as the entire forest. These will be used by future transforms that modify CycleInfo.