Soldier killed in Pakistan attack