Compensation is the measure of the responsibility which the employer has assumed for injuries or deaths which occur to employees in his employment when subject to this division. No release of liability or compromise agreement is valid unless it is approved by the appeals board or referee.