Deal expands wildlife habitat near Yellowstone