Teen arrested after 17-year-old killed in accidental shooting