Pātuhitia tēnei: Maṣlaḥa and the purpose of the law