Northern Rail and TransPennine Express have had a combined total of more than 28,000 prosecutions declared null and void after they were brought using the single justice procedure (SJP)