[PATCH 06/34] alist: Add a function to empty the list