In a stunning about-face, the president said he would be prepared to sign legislation to put an end to the Epstein firestorm.