Fixed erase iterator in linked list