Pātuhitia tēnei: Verifying Procedural Programs via Constrained Rewriting Induction