Investigators say faulty wiring and two blackouts led the ship's pilots to lose control of propulsion and steering.