util/list: Add a list pair iterator