School district agrees to pay $27 million to family of 13-year-old in fatal bullying case