Three-dimensional numerical simulation of the multi-helicity magnetohydrodynamic relaxation process in low-q spheromaks