API: Raise/Warn SettingWithCopyError in more cases

when detecting chained assignment, related, #5938