API: Raise/Warn SettingWithCopyError (according to the option chained_assignment in more cases,
    when detecting chained assignment, related (GH5938)
Merge pull request #5939 from jreback/chained

API: Raise/Warn SettingWithCopyError in more cases