The huge container ship that struck the Key Bridge had electrical problems the day before it left the Port of Baltimore,