Investigators found evidence that the girls had researched school shootings and discussed how they could carry out an attack.