Solo run issue?

I am doing a Solo Run and had just got to the Mew encounter. I decided to try to catch it since it was legendary and the wiki said all caught pokemon would return to my PC. Now Mew is in my party and I can’t really do the solo run I wanted. Can I fix this?

Unfortunately you can’t. I have fixed it on the next patch to prevent this from happening but saves that have already experienced this bug cannot be fixed.