Judge: Nashville judge left man in jail too long