Judge in endangered fish lawsuit lifts hold on Montana dam