Court lifts block on Montana dam in endangered fish dispute