Metal-loving researchers analyzed the collective movement of individuals in mosh pits, which could help explain mass movements in other extreme situations. Sophie Bushwick reports