FIX: detection of copy case for KEEP in INTO mode was too weak (was making the fix for #566 fail in some cases).
FIX: regression on issue #565
TESTS: added regression tests for #565, #566 and #567.
Merge branch 'parse' of github.com:red/red into parse