Civil partners: restrictions on benefits upheld