Effects of structural distortions on the electronic structure of T-type transition metal dichalcogenides