Twitter violated contract by failing to pay millions in bonuses, U.S. judge rules