New Zealand restore pride by thrashing India in first test