Goal of emergency powers to defeat terror, Erdogan says