Doctor’s voluntary erasure to avoid fitness to practise hearing can’t be challenged legally, judge rules