Final inspector general report details all the ways the U.S. failed in Afghanistan