A Percolative Approach to Electromigration of Metallic Lines