[bestpath_selection] fix bugs when handling withdraw routes
[bestpath_selection]: add testcase for table.go