Resistive Switching in Strontium Iridates