Four Arab nations say they'll fight terrorism