High-energy flare explosions driven by 3-dimensional X-type current loop coalescence