[S] Change in libosmo-sigtran[master]: Move code to delete routes by as/linkset to helper functions