The agency’s new rule follows years of advocacy from the grocery industry to let program participants place online orders with their benefits.