perf session: Invalidate last_match when removing threads from rb_tree