Investigations of the Ohmic Decay and the Soft X-Ray Emission of the High-braking-index Pulsar PSR J1640−4631