Abu Dhabi writes off 9.9% stake in Thames Water