BP halves stake in New Zealand's only oil refinery