3D MHD simulation of the double-gradient instability of the magnetotail current sheet