Amir granted visa to play in New Zealand