NHS Devon has responded to local anger after a pharmacy was left unable to dispense medication for over two weeks.