Indonesia has resumed exports of minerals that may contain rare earths as byproducts, the president's office said.