A senior BBC employee was unfairly dismissed following a failed IT project costing almost £100 million, a tribunal has found, as it highlighted a culture of "sacrificial accountability" at the corporation.