Fix clear in core/List.