Instability Mechanism for STT-MRAM switching