You deal with him/her by simply letting him/her play the game and eventually become exposed. The majority of residents and attendings have been around the block a few times and know a kiss-ass wimp when they see one.
We all know that this type of douchebag will NEVER be a team player, and therefore is the last person we want on our team. I was in a similar situation many years ago, and when the guy would run to tie the attendings gown, I would simply make a sarcastic statement about what just happened to make the other guy look like the slime he was at the time. When we were scrubbed and the case was almost over, I would sarcastically say to the attending, "remember to turn my way when you're going to break scrub so I can untie your gown". After all, XXXX was in a hurry to make sure he tied your gown properly, so I want to make sure it's untied correctly". Of course EVERYONE got my point, and more often than not, the attending would appreciate the sarcastic humor, since he would understand the motive behind my comments.
Don't worry, if a program wants this type of resident, then it's a program I would NOT want. These types of docs end up with no allies and rarely end up successful.
Have confidence in yourself and your own skills and knowledge, and ignore this guy. The more he THINKS he's getting under your skin, the more he will feed off of it. Don't stoop to his level and you'll win.....guaranteed.