Improve compaction of repaired/unrepaired sstables

Patch by marcuse; reviewed by Aleksey Yeschenko and Sankalp Kohli for CASSANDRA-8004