Williamson helps New Zealand to reach T20 World Cup semifinals