Remove and destroy the last aNumber of elements. Raise an exception if there are fewer than aNumber of elements.