Did away with a loop that typically caused very bad time complexity when cleaning up after a failed compilation. Fixes [bug 2792 (#2792)]. Rev: src/las.c:1.293