The legality of a ban on bump stocks that was issued under the Trump administration will be under consideration by the Supreme Court on Wednesday.