split work_list back into visited and outstanding