Besieged NZ health minister resigns