Why were the British finally able to take the hill after the third attack?