Made remove-code-at-point able to remove code from a singleton list.

Also, made autosimplification never try to remove code from root.