A federal appeals court delivered a surprising twist in the epic series of battles between Chevron and Ecuador residents — who won a $9 billion judgment against the company for polluting their home — when it reversed a lower court order that gave Chevron the right to depose attorney Joseph C. Kohn.