Ten journalists were killed in the deadliest attack on Afghanistan’s media since the fall of the Taliban in 2001, underscoring the dangers faced by the media as the war-torn country slips deeper into violence.