Barr: Pensacola shooting was ‘act of terrorism’