Caution:I am neither a native, nor a teacher
I think , in your sentence them refers to your doubts. By saying, I wanted to clarify them with my teacher, the student means, I wanted to make my doubts clear by consulting my teacher.
I hope, a teacher would take a look at it as well.
- For Teachers