Amazon’s Ring ends deal with surveillance firm after backlash