T-branes through 3d mirror symmetry