Kill repl buffer if it is dead

This prevents an error when geiser can't find a prompt in the old repl.
Add support for marking packages in a list buffer

Some changes for lexical binding in "guix-list.el" (used for
`guix-list-fold-lines' function).