Teen shooting death ruled accidental homicide