MDL-43797 lib/db/upgrade.php: Remove custom pages for deleted users

Change-Id: Ief5ec1dd0930e55b6f0bf2e0d2caa3febec07b18