Judge nixes mining activity along Clearwater River