China cuts international flights, bars foreign residents