UN brokers Tripoli ceasefire