isearch tweaks: handle C-g better, deactivate region

A-f deactivates region first.  C-g no longer marks up bad region.