Cop killed upon resistance during robbery in Lahore