Government ministers have rejected assertions that they were “asleep at the wheel” over sustainably managing migration.