The U.S. military formally ends a more than two-decade-long presence in Iraq this week.