Afghan police repel failed attack in Paktia