core/part: Always set cu to NULL at the beginning of an iteration