Pupil constriction in cataract surgery