New trial ordered for man who has spent 17 years on Oregon's