Lord of the Dance star Michael Flatley has repaid a loan at the centre of a dispute which led to the appointment of a receiver over his Co Cork mansion, the Commercial Court heard.