Remove extra pasted lines.