Detran deve retomar atividades. TJ determina fim da greve