Defense rests in contempt trial of former Arizona sheriff