UK agrees to redesign 'racist' algorithm that decides visa applications