The ruling sets the stage for a motion to dismiss; discovery may then unearth further details of Trump’s relationship with Epstein.