1 militant killed, 2 policemen injured in Kashmir encounter