Analysis of when we say eid naaseh dayan- that a witness may also serve as a judge