Ramesh Kumar Farmah was a "pillar of the community" who served as a magistrate for 40 years and had a "strong and innate sense of helping other", his family said