I live in Spain where one's passport number is the same as their ID No. thus it never changes.
The fact that British Passport Nos change can cause some difficulty in Spain when one sells a property which they bought with an earlier passport.
At one time I had a very close working relationship with Passport Office in UK. From what I know I do not believe they need to change the number to stop an expired passport being used.