Local singlet bound state and magnetic excitations in mixed-valence SmB6