Fix alterRoutes() method to comply with changes in RouteSubscriberBase

RouteSubscriberBase now contains an array with all the routes instead
of an array with modules containing all the routes they define.