A New Jersey school district agreed to pay $9.1 million to settle a suit claiming that it failed to prevent the bullying of a 12-year-old student who later took her own life.