Pakistan crawl to 377-8 against New Zealand