Make sure we set lastCompactedKey properly

Patch by marcuse; reviewed by rbranson for CASSANDRA-8463
Merge branch 'cassandra-2.1' into trunk