The shooting, the latest eruption of what has been an unprecedented pace of mass killings in the US, sent hundreds fleeing in panic.