Hamas is dissolving its government and handing power over to a new technocratic administration.