The threat to invoke a little-used law allowing violators to be punished came after six people in the West Bank settlement near Nablus were diagnosed with the disease