BP oil spill trial: Blowout preventer on Macondo well had dead battery, miswired solenoid, expert testifies