Egyptian militants loyal to IS claim deadly attack on soldiers