fix block_index (in messages, credits, ..)  when rematch

block_index was not sequential and raise assertion error in counterblockd.