core: unify kill code of mount, service, socket, swap units