Configuration-independent elastic interactions in metal-hydrogen solutions