Implement access checking for the "delete" operator. Fixes PR9050,