RBS to pay £17m bonus to controversial GRG unit