A regularization for discontinuous differential equations with application to state-dependent delay differential equations of neutral type