The singer wrote that she is “deeply ashamed” in response to allegations she used racist language and images on a now-deleted social media account.