Kiyani vows to eliminate militancy