Stabilization of nonlinear mirror mode-locking by inverse saturable absorber