I think that you'd have been better off terminating on the basis that there are $10K+ of essential repairs, and let the sellers sit with that knowledge for a while. They might have come back and been willing to sell for less.
But as it is, their mindset was that they had a sale for $505K that...