Sergio C. Garcia, an undocumented Mexican immigrant, attended law school and passed the bar exam on the first try. But he was unable to practice law in California, until now.