The cost of repairing vehicles damaged by hitting potholes on UK roads hit a record high last year of £579million.