An FBI investigation that led to the resignation of Gen David Petraeus also turned up evidence that Gen John Allen, the top U.S. commander in Afghanistan, was exchanging potentially inappropriate emails with a Florida woman involved in the scandal, Pentagon officials said.