Comparative Politics with Intraparty Candidate Selection