Mathematician only narrowly escaped banishment – and one slip-up could prove even more damaging to her reputation in the ‘Traitors’ castle