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

Change-Id: Ifef563431682a2a5524927f85ca9eba9cbe520ff