Pagination: fix regression in cleanup logic; fixes #391
List: remove unused dependency on dojo/_base/array