Even if the incident with screwing over the chinese dissidents is the entire reason they fought the NSA in court that does not subtract one iota from the good karma they deserve for fighting the NSA in court.
People who learn from their mistakes deserve at least as much praise as the ones who got it right from the beginning (the list of which seems to be exceptionally short in this case).
Good for them, but also perhaps motivated from poor PR resulting from this episode: http://en.wikipedia.org/wiki/Criticism_of_Yahoo!#Outing_of_C...