I never thought that Lee would appear during this fight. I think it has only two explanations:
A. Tsunade healed Lee temporarily to help the team.
B. She did the operation and used some kind of super duper healing jutsu on Lee.
In both cases I have to say Daaaaaamn... that lady is just toooo good.