The effect of a virtual cathode on the electromagnetic stability of high-power ion diodes