Do not clear selection after pasting.
The old behavior has a long history, initially introduced by commit 1e3c3e27 more than 10 years ago. I fail to understand its intention (some safeguard?), and I think keeping the selection is more useful in work flow. Keep it in master branch for now. No backporting. CCBUG: 240335