Deletes any messages marked for deletion.