Officials visited the technology giant’s offices in Madrid as part of their inquiry, broadening the scrutiny in Europe of how the company pays taxes.