Thousands of records released in relation to Jeffrey Epstein have been retracted due to inadequate redactions.