Simulations of the melting of rare-gas inclusions in metals