2 Spanish cities reverse Israel boycott motions following legal action