Hmmm, I can just see it now. Pull the troops out of Iraq & Afghanistan, reduce the total number of British forces by the same number. Use all the cash you've saved on the defence budget to pay for housing and benefits for all the Iraqi & Afghani refugees who arrive in the UK after their respective countries collapse into outright civil war.
Britain can then tell the UNHCR how wonderful we are at accepting refugees!