Move selection invalidations to the invalidation phase

This change is a very simple translation of the current code:
instead of generating invalidations on the fly, we just mark
renderers for selection invalidations later.

I am not super satisfied with this change but it removes
several stale compositing queries and puts us on the path
to integrating selection invalidations more tightly with
the paint invalidation path.

BUG=407416

Review URL: https://codereview.chromium.org/620553009

git-svn-id: svn://svn.chromium.org/blink/trunk@183082 bbb929c8-8fbe-4397-9dbb-9b2b20218538