objectpool: Refactor alternates file parsing
Currently Disconnect()
implements its own means to parse a Git
alternates file. This change refactors Disconnect()
to use the already
existing stats.AlternatesInfoForRepository()
, which is much more
thorough, to handle the parsing instead.