Judge overturns decision to strike consultant surgeon off medical register