New Zealand will finalize the formation of its next government on Friday, after the country's general election ended in a neck-and-neck deadlock three weeks ago.