Limit moment of local wall thinning in pipe under bending