orlyc/code_gen: When the dependency set only contains one item, it's the end of the topological sort

NOTE: This is a workaround for a deeper bug in the topological sort / dependency order finding, but it gets #96 to compile / stop infinite looping.

Ideally we'd check for a stall in the topologicial sort but my initial pass at that broke a lot of other tests.