Three militants hanged in Pakistan: Army