A court battle between Sports Direct and Rangers chairman Dave King has heard that the club did not repay a £5m loan despite earlier claims it had.