Deviatoric stresses promoted metallization in rhenium disulfide