US troops were ready to enter Pakistan to secure Bergdahl's release