At the time the judge made the comment he thought you were going to be evicted, which would probably have resulted in you having additional costs which you would not have incurred if you had been able to stay till the end of the tenancy. These costs would have occurred because the LL breached the term of the tenancy contract giving you "quiet enjoyment" of the property so the claim would be for compensation for breach of contract, and the amount dependent on what your extra costs were.
In the event, you are being allowed to stay so presumably have not incurred extra costs (unless you have had to spend money dealing with the problem). If you want to claim you would have to do so in the County Court, which would incur a fee & there would be no guarantee you would get your money back if the LL is really in financial difficulty. Probably best to forget about it unless there is a lot of money involved.