Legal challenges are likely, as the voting extension adds tension to Brazil's polarised political landscape.