Massachusetts regulators have approved contracts for the state’s utilities to buy 9,554,940 MWh annually from Hydro-Quebec, which the state expects will provide $4 billion in total benefits to ratepayers over 20 years.