Barr calls Pensacola shooting an 'act of terrorism'