The main Republican rival to Donald J. Trump avoided answering whether he would pardon the former president.