SERVER-13812 Catch exception thrown by getShardsForQuery for geo query
(cherry picked from commit 16169267c6ece79e25f2722a50a3f915728fdb09)