An analogue of the linearization method in problems of the minimization of nondifferentiable functions