When did the politician who represented the electoral district in Sydney's West resign from his political party?