Microsoft has sealed a deal to end a decade of litigation with the European Union over charges that it unfairly used its dominant operating system to promote its Web browser, Internet Explorer. The computer giant agreed to give European users a choice of up to 12 browsers in future editions of Windows.