Online grocer inks $1B distribution deal