Prime Minister, COAS discuss national security matters