Top Massachusetts House and Senate leaders finalized a deal on Thursday that would give Massachusetts the highest state minimum wage in the country.