The presidential candidate who boasts on the campaign trail that he avoided paying federal taxes in the 1990s got away with it thanks to a scheme so dubious that even his own advisers warned him it was perilously close to fraud, according to a new analysis.