Soldier dies after being attacked by bear on base in Alaska