Strip newlines off k=v pairs in command/shell argument parsing

Fixes ansible/ansible#9272