12 militants killed in Pak’s Northwest