Please refer to the explanation of how these charges are worked out above. The apportionment of charges between landlord and tenant should reflect the condition of the walls at the start of the tenancy so the fact that they were not freshly painted has been taken into account already in the amount that you have been charged.