New Zealand dairy herd to shrink for first time in a decade