President defends Bergdahl trade.