Green Party accuses Jeremy Corbyn of ‘capitulating to the Tories’ on immigration