T-Mobile will buy most of US Cellular’s operations in a deal valued at $4.4 billion, both companies announced Tuesday, the latest billion-dollar transaction by the wireless carrier as it expands coverage to millions of more customers.