Channel 4 stubbornly held out on running a documentary on Huw Edwards till the 11th hour, before chief executive Priya Dogra paused it over ‘unprecendented levels of concern’. Alex Ross looks inside the dramatic U-turn and the damage it has done