I say we go with a scorched earth policy. Draw numbers, go from 1 to 9 alternating nights. Once people stop dying we know we are safe. If The Doctor wants to save that person, he/she may do so.
Lynching happens during the day, and the doctor can only prevent murders by the mafia during the night.