Remove some unused code from BgpConfigParser.