Admiral William J. Fallon, the chief of U.S. forces in the Pacific, urged closer military ties with China after an uncomfortably close encounter between U.S. warships and a Chinese submarine in the Pacific last month.