The investigation into Donald J. Trump has been the focus of enormous attention, but candidates have mostly avoided talking about the case.