Arizona had been fighting in court to prohibit “dreamers” from obtaining driver’s licenses.