EU, ASEAN pledge joint terrorism fight