Republicans considering a presidential run offered their assessment of the party’s performance in the midterm elections.