Home Office policy giving people little notice of deportation ruled unlawful