Strictly speaking your blue book is now void. Whether they will pick it up on your next entry? I don't know. Yes you can still buy a visa at Dalaman or before you leave. Personally, I would buy a 90 day visa and whether you choose to show it or not is up to you. My worry would be that when you come to renew your residency, they will count back and you will be in trouble.