Fakhar flays South Africa as Pakistan seal T20 series with nervy win