Judge ends case against Epstein