SHANGHAI/BEIJING — Shanghai and Beijing went back on a fresh coronavirus disease 2019 (COVID-19) alert on Thursday after parts of China’s largest economic hub imposed new lockdown restrictions and the city announced a round of mass testing for millions of res…