A South African judge clears British millionaire businessman Shrien Dewani of murdering his bride on their honeymoon, saying prosecutors failed to make the charge stick in a sensational trial where his sexuality played a key role.