Prince Harry and Duchess Meghan have paid back the £2.4 million refurbishment costs for Frogmore Cottage.