Arguably, you don't need actual usernames to follow a thread, just a way to differentiate one user from another. Imageboards get by with extremely weak identity and referencing other posts rather than users, although, imageboards aren't exactly concerned with long-term quality conversations either. Still, it's possible to follow a thread without any identities at all.
This would mean something a bit smarter than just replacing usernames with [deleted] though. Perhaps [deleted #nnn] or some other token.
Edit: and if you really wanted to get paranoid about ambiguity, generate a new token per thread rather than per user, making it all but impossible to correlate the entire posting history for a deleted account.
Also arguably, a thread for which a majority of users have deleted their accounts might not be worth following anyway.