Pipeline sectional replacement by cofferdam