BEIJING — China’s factory activity contracted in June, adding to pressure on Beijing to shore up economic growth amid a costly tariff war with Washington. A monthly index released Sunday by an official industry group, the China Federation of Logistics & Purchasing, held steady at the previous month’s level of 49.4 on a 100-point scale