J&K Major among 4 martyred, 4 terrorists killed in encounter