A mechanism for magnetic field stochastization and energy release during an edge pedestal collapse. (27th February 2015)