A £2.4 million legal settlement has been awarded to a woman left with permanent vision loss following hospital failings.