Attack targeting National Directorate of Security compound came as rival Afghan groups met in Qatar to discuss peace.