Pro-government forces in Ethiopia have regained control of the capital of Tigray after rebels pulled out, dealing a major setback to the opposition alliance that rules the northern region.