The judge said the former New York City mayor had failed to properly comply with evidence production requests over the last few months.