Judge Dale E. Ho said that with New York’s mayor and federal prosecutors agreeing to end the case, he needed to hear ...