Disputes over compensation and firings, and potentially over layoffs, could push both sides into fresh legal battles.