Minimum action path theory reveals the details of stochastic transitions out of oscillatory states