T-Mobile has agreed to pay a $40 million fine over accusations that the company tried to cover up poor rural cell service with "false rings."