The theoretical factor that's supposed to depress pay for workers on non-immigrant visas is that they don't have easy job mobility - the bar to hire an H-1B is much higher than to hire a US native worker. Once you have an EB-2 (an immigrant visa, that entitles you to a Green Card), that no longer applies - modulo national-security type positions that require citizenship you're just as hirable as a US native.