'Mass cancellation' of bus routes in Wales avoided after ext