British prime minister visits Israel ‘to express solidarity’