Brazilian MPs have voted to override President Luiz Inacio Lula da Silva's veto of a bill to reduce Jair Bolsonaro's prison sentence.