Three specialist doctors lost a High Court challenge over a tax arrangement that used low salaries and million-dollar dividends to reduce their tax liability.