Condition-Based Maintenance and Optimizing Strategy with Imperfect Repair for Deep-Water Pipeline