Superconductivity emerging from a suppressed large magnetoresistant state in tungsten ditelluride