The Supreme Court was sharply divided on Tuesday as the justices considered a lower court opinion that invalidated congressional and statehouse maps in Texas, holding that they discriminated against minority voters.