Estimation of Allowable Fault Displacement for Pipelines and Countermeasures