New Zealand finance minister set to become new PM