Kill should only kill to newlines, not to end-of-buffer

This fixes part of #6420.