The court has ruled that two care home owners, who sold their facility, cannot subtract debt payments from the share value and must pay capital gains tax on £8m