U.S. military chief says terror threat rising in Pakistan