Washington Sundar was the headline act for India, taking seven wickets as they bowled out New Zealand for 259 on the first day of the second Test.