Turkish FM says terror fight in line with democracy