Thousands of NHS workers were pursued by debt collectors after salary overpayments, the BBC finds.