The company joins Walmart in changing its policy after a mass shooting in Texas left seven dead over the weekend.