Iraq’s Federal Supreme Court on Thursday ruled in favor of the country’s president, rejecting a complaint against his nomination for a second term.