Semi-Fredholm singular integral operators with piecewise continuous coefficients on weighted variable Lebesgue spaces are Fredholm