An extension to a repair order has allowed transport chiefs to carry out essential maintenance on Blackpool’s trams.