erasePeer

Remove p from the list, correcting every counter and cursor. This is the port of peer_list::erase_peer(torrent_peer*). The removed peer is appended to TorrentState.erased. No-op if p is not present.