use iter.remove() to avoid CME in segment discard. patch by gabriele renzi; reviewed by jbellis for CASSANDRA-853