"You spoke well when you said" or "You chose your words skillfully when you said." Jesus is acknowledging that what she had said was strictly true but was hiding a fact about her that she expected Jesus to disapprove of. He was saying neither that it was a good thing that she had no husband nor that her answer showed that she was morally good.