Judges keep Yellowstone bears on the threatened list, but their ruling also has given the government hope