Hagel says rush to judgment on Bergdahl 'unfair'