President Mamnoon defends anti-terror record