Pentagon official resigns, sounds alarm about US losing technological edge