BP digs in as last leg of Gulf oil spill trial approaches