I would call them out on it, too. The attitude they had was part of why they couldn't debug their program. They needed to adopt a question-and-test-assumptions approach, which can be intellectually uncomfortable. I hoped that by explaining to them why that comment was obviously wrong that they could start to learn the debugging process without me walking them through it, constantly asking pointed questions.
I do like your approach, as it does not penalize you for trying hard, even if you reach deadends, or made some assumptions that can be sniffed out easily by a test. My physics professor did a variation of this sort, where the final consists of all the topics, and your previous test grades gets overwritten by the final if the final grade is higher.
The class is aimed at premed students, and experience shows that Physics 101 students do better on the MCAT than students who take a conventional class aimed at premeds. Because it's aimed at premeds, there's a heavy dose of fluid mechanics and other subjects that often get missed in intro physics.
It's particularly fun, as a teacher, to work with students to "debug" their thought process. So often I'd hear "I understand the concepts but can't do the problem" but then once they started explaining how they tried to solve it, I'd see that they missed important concepts.