Malaysia has extended a moratorium on bauxite mining, as it grapples with a stockpile that has yet to be cleared despite an official halt to mining activities more than two years ago.