Medium-induced Interaction Between Impurities in a Bose-Einstein Condensate