Trade union GMB said the first minister had "washed his hands" of the problem when it was raised at Holyrood.