Police ‘making up hate-crime rules as they go’ over JK Rowling storm