fix refnanny counting for StopIteration value in yield-from
minor code simplification