The president asked the Justice Department to propose regulations that would ban “bump stocks,” which can convert a semiautomatic gun into an automatic weapon.