.gitignore: remove obsolete entries and sort the lines.