AG: NAS Pensacola shooter was 'a terrorist'