The former US secretary of state Hillary Clinton is to testify before a Republican-led House committee investigating her past ties to the late convicted sex offender Jeffrey Epstein.