The New Zealand government has cleared the way for next month's signing ceremony for the Trans-Pacific Partnership (TPP) trade deal by releasing the final text of the agreement.