The European arm of General Motors will be shielded from the expected insolvency of the US group after an 11th hour deal reached on Saturday morning that will see Magna International, the Canadian parts supplier, take over the business with financial backing from the German government.