refactor: move cleanup methods to dnf.cli.commands.clean.