Singular limits of the equations of compressible ideal magneto-hydrodynamics in a domain with boundaries