magit-anything-staged-p: use git-diff-files
add new predicate magit-anything-unstaged-p
magit-stage-all: without a partial index don't require confirmation
magit-unstage-all: without a partial index don't require confirmation