The role of metal and passivation defects in electromigration-induced damage in thin film conductors