Hardik Pandya had a brilliant outing as he claimed his maiden T20 five-wicket haul and then hit an unbeaten 28 off 16 balls.