Gerrymandering, Legislative Composition, and National Policy Outcomes