Anything short of his gracious comments would have been perceived as bitter. And he IS the better man, so being less than gracious would have been beneath him.
What would you have suggested he said?
Address her using her formal title "Madam Speaker" without making a big deal out of it.