SIP update for QgsFilterLineEdit

events have not been defined in the sip file, therefore QgsFilterLineEdits
created in python did not receive the events, leading to visual glitches.

Fix #11372
Repack() shapefiles on unload whenever they have been modified

Previous preconditions that would only repack them when features have been
deleted seems to not have covered everything.

Fix #11007