This archive contains files necessary to reproduce the problem
Generating SPIR-V from variant_136_reduced_final.frag using glslangValidator, and then optimizing it with the --eliminate-dead-branches option leads to SPIR-V that the validator rejects with:
error: line 34: block <ID> 23 branches to the selection construct, but not to the selection header <ID> 8
%23 = OpLabel
Issue found using GraphicsFuzz.