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