Add retries to uncached-npm-install.sh

Pull requests are frequently failing on Travis due to npm flakiness
(I think) travis_retry isn't available in indirect subshells like this
Merge pull request #14396 from twbs/retry-npm

Add retries to uncached-npm-install.sh