5 power defense pact targets terrorism, sea piracy