A proposed law that would redefine New Zealand’s founding treaty with its Indigenous people has triggered political turmoil.