Britain's last chance to avoid a long-term migration catastrophe of Boris Johnson's making, a leading think tank has warned.