Regularized Energy-Dependent Solar Flare Hard X-Ray Spectral Index