Thousands of parents had their payments stopped after faulty data suggested they had left the UK and not returned.