Google, Oracle, Amazon and Microsoft clinch long-fought deal after previous contract got bogged down in legal challenges