Baker McKenzie has split from its most senior partner in the United Arab Emirates, after he made a series of homophobic comments on social media.