AttribManager#removeAttribOnLine: Remove Linemarker entirely if there's nothing else left

fixes #2395