Correct infinite regress detection in compiler; wasn't working due to id comparison  no longer working