Refactor page compactifying code.
Refactor page compactifying code.

The logic to compact away removed tuples from page was duplicated with
small differences in PageRepairFragmentation, PageIndexMultiDelete, and
PageIndexDeleteNoCompact. Put it into a common function.

Reviewed by Peter Geoghegan.

xinzweb/gpdb,adam8157/gpdb,50wu/gpdb,yazun/postgres-xl,Postgres-XL/Postgres-XL,Postgres-XL/Postgres-XL,greenplum-db/gpdb,50wu/gpdb,oberstet/postgres-xl,zeroae/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,yazun/postgres-xl,ashwinstar/gpdb,jmcatamney/gpdb,yazun/postgres-xl,ashwinstar/gpdb,50wu/gpdb,50wu/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,adam8157/gpdb,greenplum-db/gpdb,xinzweb/gpdb,ashwinstar/gpdb,50wu/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,xinzweb/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,50wu/gpdb,xinzweb/gpdb,jmcatamney/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,ovr/postgres-xl,adam8157/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,pavanvd/postgres-xl,techdragon/Postgres-XL,lisakowen/gpdb,greenplum-db/gpdb,xinzweb/gpdb,lisakowen/gpdb,yazun/postgres-xl,adam8157/gpdb,Postgres-XL/Postgres-XL,50wu/gpdb,adam8157/gpdb,xinzweb/gpdb,oberstet/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,Postgres-XL/Postgres-XL,ovr/postgres-xl,yazun/postgres-xl,50wu/gpdb,zeroae/postgres-xl,lisakowen/gpdb,ovr/postgres-xl,oberstet/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,ashwinstar/gpdb,zeroae/postgres-xl,adam8157/gpdb,zeroae/postgres-xl,xinzweb/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,ovr/postgres-xl,lisakowen/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,jmcatamney/gpdb