Government’s ‘inhuman’ approach to immigration will not work and will cost more, says former Home Office minister