Metrical Task Systems on Trees via Mirror Descent and Unfair Gluing