Pressure effect on the metal-semiconductor transition in 1-T TaS2