remove unused code

https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/registration/views.py#L287