Correlated structural and electronic phase transformations in transition metal chalcogenide under high pressure