WASHINGTON—The Supreme Court is facing a sensitive choice on whether to intervene in a partisan battle over Pennsylvania’s congressional map, a decision expected within days that could have considerable political and legal ramifications for the midterm elections.

With the state’s primary vote about three months away, Pennsylvania candidates and voters don’t know what their districts will look like, after the Pennsylvania Supreme Court invalidated the state’s map on Jan. 22.

...