Atomic Scale Modulation of Self‐Rectifying Resistive Switching by Interfacial Defects