Clean out all inactive AIS generations, not just those older than the oldest

The problem is that one connection with a really old generation can otherwise keep everything around.

Simply clearing more aggressively would also fix this, but this is in the spirit of the existing code.