Make districts competitive. As long as the measure (votes in an election district) can be shaped such that winning the primary (initial election to determine the rep. for each party) basically promises a win in the general (an election where one rep from each party competes), polarization will go up and moderation will go down. Once districts are competitive, reps will face more pressure to the will of the people, as opposed to the people in just their party.