Attorney-General flags end to forced divorce law for Tasmania