Brazil court ends early prison rule, decision could free Lula