You're arguing a different point. The refund is because the beach of contract was only for a specified time. A total refund provides no incentive to attempt to rectify the situation.
A partial refund would incentivise we-tried-our-best problem solving.