A federal judge in Massachusetts sided with an employer when a former employee brought a lawsuit alleging that the company violated her employment contract and the Massachusetts Wage Act by invoking its "windfall provision" to reduce her earned commission on a $2 million sale.