Make rmdup use new rg->library index and comment

Add comments to rmdup
Make rmdup use the new rg->library index.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>