Significant decisions affecting immigration and the UK’s fiscal deficit were hidden in effort to protect Afghans