Casing Capacity Degradation of Burst and Collapse of a Non-Uniform Casing with Wear under Bending Conditions