Hey man,
When a girl tells me she just got out of a realationship I generaly will be like "wow im sorry, I have to know though did it end with you hitting him with a skilet or something like that? just so i know whether to walk away or not

? "
now she will either tell you no it was mutual or he was an asshole. either way you say exactly whats bellow..
if she told you her ex was an ass you say " so I'm gonna take a wild guess and say most guys in your life are jerks?" if she says yes be a nice guy for the night and say "well I'm gonna be that one exceptional guy for you then, can i buy you a drink?" if she said that most are NOT jerks then you get to be a little edgy with her.
after that just do whatever you do to close.
Hope this helps,
Justin