Borrell leaves post as EU’s top diplomat ‘frustrated’ over inability to stop ‘massacre’ in Gaza