A former judge in Ecuador may have been paid by both sides in a dispute over pollution in the Amazon jungle