Key aspects of the deal — including a controversial side agreement on national insurance taxes for foreign workers — are yet to be finalized.