The Home Office may have to refund tens of millions of pounds to people who were ‘unlawfully’ charged fees for checks in their visa applications