Nonlinear dynamics and chaos regularization of one-dimensional pulsating detonations with small sinusoidal density perturbations