When deleting an S3 key ending with "/" (a directory marker) where the
directory has children, strip the marker metadata instead of returning
InternalError. This matches AWS S3 behavior where deleting a directory
marker only removes that object, not child objects under the prefix.