Barnsley Council's target to reduce home education by 30% is branded "unlawful" by campaigners.