The mass shooting was the second in America in less than 24 hours, following an attack in El Paso that killed 20