Obama mocks Republican position on immigration