A 13-year-old student shot and killed two female staff members at a school in Rio Branco, Brazil, before surrendering to police.