Military branches restore flu shot requirement after virus swept through base