Some may be shocked at Jacinda Ardern’s resignation, but it’s not surprising she is abandoning a sinking ship