Gaza sniper kills Israeli near border, Israeli military says