fix: `Array.foldlMUnsafe` bug

This PR a bug in the optimized and unsafe implementation of
`Array.foldlM`.

Issue was reported here:
https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/Array.2Efoldl.20bug.20.28can.20prove.20False.29/near/565077432
2 files changed