Run `bazel --version` and retry in case of failure (#2152) Fixes https://github.com/bazelbuild/continuous-integration/issues/2123