The mid-tier firms have formally exchanged contracts, confirming a merger that will create a business with an estimated UK revenue of £590m, overtaking Grant Thornton to become the fifth-largest firm in the country