A US court has ordered ex-Trump campaign strategist Steve Bannon to turn himself in by 1 July.