Walmart will begin allowing customers to initiate the return process through the Walmart app in a move many see as part of an effort to compete with e-commerce giant Amazon.