A NSW cop has denied unlawfully killing a 95-year-old woman with dementia, who was tasered while holding a knife.