New Zealand minister sacked over improper relationship