Home Office immigration database errors hit more than 76,000 people