Egyptian police have killed a man they say was the leader of an Islamist militant group blamed for several attacks on tourist towns last month .