The U.S. Navy is repositioning some of its most advanced warships and submarines to Hawaii as part of a major modernization effort aimed at countering China’s growing military presence in the Pacific.