Booz Allen Hamilton is teaming up with another Silicon Valley-backed defense tech company to accelerate development of new technologies for use by the U.S. military.