Fix bug throwing exception for group workspaces re #6983

This required moving setProperty("OutputWorkspace", inputWS) within RenameWorkspace::processGroups().

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>