Countries led by Germany and Netherlands overcome French opposition to UK participation in Brussels schemes