Pentagon balances anti-terrorism efforts, transformation plans