A long-winded dispute over Google’s tax arrangement has reached a conclusion, with a court ruling sparing the firm from paying a mammoth back tax bill