HC slams Revenue officials for inaction over encroachments