PSR J1740–5340: Accretion Inhibited by Radio Ejection in a Binary Millisecond Pulsar in the Globular Cluster NGC 6397