As the Middle East war tests business resilience, companies must account for the tax, gratuity and legal implications of departures