Malaysia says foils hijacking of Thai tanker, 10 pirates arrested