A major immigration crackdown is to be softened amid a chaotic scramble by ministers trying to impress Andy Burnham.