The Republican-controlled Legislature on Monday approved new maps that would alter seven of the state’s 27 congressional districts after Judge Terry P. Lewis ruled the current districts were illegally drawn to benefit Republicans. He gave them until Aug. 15 to fix the maps, acting after the League of Women Voters and others contended that Republican consultants used a “shadow” process to draw districts that benefited Republicans. Even if the judge approves the new maps, it is not clear when they will be put in place. Judge Lewis must still decide whether to call a special election for later this year.