Defense Secretary Chuck Hagel acted illegally in May when he authorized the release of five Taliban detainees for Army Sgt. Bowe Bergdahl because hed failed to provide lawmakers adequate notice of the exchange, the main investigative arm of Congress found Thursday.