I had a bunch of refinements packed away taking up house storage slots so I wrote this.
Put an empty Refinement Amalgamator in your backpack and target a container (that isn't your backpack) full of loose refinements. This script will combine whatever it can to the highest level possible.
Some of the lower level refinements are desirable for PvP gear so set any aside that you don't want to be used!