I've had this happen to me 5 times in a row. I almost killed someone, then they surrendered right before I could get SP for taking more of their cities.
I think if you attack someone and they surrender, you should get an extra amount of SP for "causing them to surrender".