New Zealand shorten for third Test as Pietersen ruled out