Optimize insert_cells for bulk inserts (per-row triggers are too slow).

The CheckUniqueLabel triggers impose a time complexity that is too
costly for bulk inserts.  These triggers are now dropped before insert
operations and recreated afterwards.