New York T-Mobile customers affected by 2024 price rises may get refunds, free 5G phones or price protection until at least 2029 under a state agreement.