The approximate regularization of index-2 differential-algebraic problems