Kerala in India, which gave the world its first democratically elected communist government, has voted the left out.