the nairs were kerala's ruling and warrior caste