This open ended question invites discussion and opinion. I'll offer mine.
Answering your last question first (What would have been the right course of action...), I would like to see a moderator give us a definitive answer. They can explain why or why they don't agree with the opinions expressed here and tell us what their expectation is.
As for the question in your title (How to deal with answers...), I agree with Alexei that a down vote is appropriate, if you feel that a vote is necessary. If the comment is valid and not worthy of a down vote, may I suggest a neutral vote by way of no vote at all? This would neither increase nor decrease the reputation of the poster. Nothing says you have to vote up or down.
Now the real art of handling an improper answer is in creating an entertaining comment to follow it. You don't want to come across as a jerk who says, "You dumba$$, that doesn't remotely provide any help!" The other readers of the thread will not appreciate a crude or sarcastic comment.
If you can provide a better answer, by all means do so! If you don't know the answer, but want to try to help clarify the direction of the thread, I suggest using humor for two reasons.
- It will entertain the readers and make the forum a more enjoyable place.
- You can make your point without being insulting.
Both of these will help preserve and enhance your own reputation.
That's my opinion. I enjoy your discussion.
Thanks,
Marvin M.