Fix undefined offset in updateOneSearchIndexConfig

isset( $wgCirrusSearchReplicas[ $this->indexType ] ) returns true
if $wgCirrusSearchReplicas is a string, so we need to also
check type of $wgCirrusSearchReplicas.

Bug: 72888
Change-Id: I1d8c13cbc2dd5a34b0e5b877a046d314fdefc236
(cherry picked from commit 96a1d2c9ce234879b283b67be0fc820d9378500d)