Distributed Computation for Swapping a Failing Edge