The startup’s deal to do classified work with the Defense Department drew criticism from staff and other AI researchers.