Function: nbutlast

Modifies LIST to remove the last N elements.