US formally ends three accords with Hong Kong