US formalises ban on government contracts to Huawei, others