Development of the method for assessment of serviceability and residual life of the main pipelines with service macrodelamination