Fixing "remove aliases" in native client

Hi,
The "remove aliases" functionality does not work with the native client as described in the documentation. This is mainly due to the incorrect destructuring being used in apply-remove-alias but the differently named keys (index vs indices, alias vs aliases) in the documentation was also very confusing.

I've fixed the destructuring, updated the documentation to give a working example and added a test.

Thanks!