Same-sex couples will be allowed to compete in British ice dance competitions next year after a change of rules.