A Brazilian court on Wednesday ordered that former President Michel Temer be jailed again over an ongoing investigation into allegations of corruption.