Biased Resistor Network Model for Electromigration Failure and Related Phenomena in Metallic Lines