xz won't compress a file if it has hard links, even if --keep is specified.
I think this should be changed since if the file is not being deleted hard links don't matter.
Note: I'm using 5.0.0 so it could be this was changed already, but I checked the changelog and the only thing I found was hard links and force, nothing about keep.
-Ariel